package com.agency8x.bean;

public class ResultInfoBean  {

	private boolean result;
	private String message;
	private String code;
	public Object objectParam;
	public ResultInfoBean(){
		
	}
	public ResultInfoBean(boolean result, String message, String code, Object objParam){
		this.result=result;
		this.message=message;
		this.code=code;
		this.objectParam=objParam;
	}
	public ResultInfoBean(boolean result, String message, String code){
		this.result=result;
		this.message=message;
		this.code=code;
	}
	public ResultInfoBean(boolean result, String message){
		this.result=result;
		this.message=message;		
	}
	public void setResult(boolean value){
		this.result=value;
	}
	public boolean getResult(){
		return this.result;
	}
	public void setMessage(String value){
		this.message=value;
	}
	public String getMessage(){
		return this.message;
	}
	public void setCode(String value){
		this.code=value;
	}
	public String getCode(){
		return null==this.code?"":this.code;
	}
	public void setObjectParam(Object value){
		this.objectParam=value;
	}
	public Object getObjectParam(){
		return this.objectParam;
	}
}
